import javax.swing.*;
import java.awt.*;

class Logo extends JPanel {
	
	private String LOGO_FILE = "CHRlogo.jpg";

	/**
	 * Constructor for the Logo class
	 * @param x the width of the program frame
	 * @param y the height of the program frame
	 */
	public Logo(int x, int y) {

		setBackground(Color.white);
		setVisible(true);
		setLocation(x/2-250,y/2-39);
		setSize(500,500);
		Icon logo = new ImageIcon( LOGO_FILE );
		JLabel logoLabel = new JLabel(logo);
		
		add(logoLabel);

	}

}